package com.ny.Map;

public class Aot {
    private String num;
    private String name;
    private int age;
    private String hg;

    public Aot(String num, String name, int age, String hg) {
        this.num = num;
        this.name = name;
        this.age = age;
        this.hg = hg;
    }

    // Getters and setters
    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getHg() {
        return hg;
    }

    public void setHg(String hg) {
        this.hg = hg;
    }

    @Override
    public String toString() {
        return "Aot{" +
                "num='" + num + '\'' +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", hg='" + hg + '\'' +
                '}';
    }

    public String getNumber() {
        return num;
    }
}